<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>UILabel(FFUIFactory) Category Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">UIFactory </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">WanDa</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	
	<optgroup label="Properties">
		
		<option value="//api/name/ff_max_width">ff_max_width</option>
		
		<option value="//api/name/ff_min_width">ff_min_width</option>
		
		<option value="//api/name/ff_width_scalable">ff_width_scalable</option>
		
	</optgroup>
	

	
	<optgroup label="Class Methods">
		
		<option value="//api/name/ff_labelWithMinWidth:maxWidth:font:textColor:backgroudColor:alignment:numberOfLines:">+ ff_labelWithMinWidth:maxWidth:font:textColor:backgroudColor:alignment:numberOfLines:</option>
		
		<option value="//api/name/ff_labelWithTextColor:font:">+ ff_labelWithTextColor:font:</option>
		
		<option value="//api/name/ff_labelWithTextColor:font:alignment:">+ ff_labelWithTextColor:font:alignment:</option>
		
		<option value="//api/name/ff_labelWithWidth:font:textColor:backgroudColor:alignment:numberOfLines:">+ ff_labelWithWidth:font:textColor:backgroudColor:alignment:numberOfLines:</option>
		
	</optgroup>
	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/ff_sizeToFit">- ff_sizeToFit</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">UILabel(FFUIFactory) Category Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Declared in</th>
	<td>UILabel+FFUIFactory.h<br />UILabel+FFUIFactory.m</td>
</tr>
						</tbody></table></div>
					

                    

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						
						

						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/ff_labelWithTextColor:font:" title="ff_labelWithTextColor:font:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ff_labelWithTextColor:font:">+&nbsp;ff_labelWithTextColor:font:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>生成一个宽度为屏幕宽度，背景色白色，左对齐，行数1的label</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)ff_labelWithTextColor:(UIColor *)<em>color</em> font:(UIFont *)<em>font</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>color</code></th>
						<td><p>文字颜色，默认值黑色</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>font</code></th>
						<td><p>字体，默认14</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UILabel</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UILabel+FFUIFactory.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ff_labelWithTextColor:font:alignment:" title="ff_labelWithTextColor:font:alignment:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ff_labelWithTextColor:font:alignment:">+&nbsp;ff_labelWithTextColor:font:alignment:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>生成一个宽度为屏幕宽度，背景色白色，行数1的label</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)ff_labelWithTextColor:(UIColor *)<em>color</em> font:(UIFont *)<em>font</em> alignment:(NSTextAlignment)<em>alignment</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>color</code></th>
						<td><p>文字颜色，默认值黑色</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>font</code></th>
						<td><p>字体，默认14</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>alignment</code></th>
						<td><p>对齐方式</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UILabel</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UILabel+FFUIFactory.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ff_labelWithWidth:font:textColor:backgroudColor:alignment:numberOfLines:" title="ff_labelWithWidth:font:textColor:backgroudColor:alignment:numberOfLines:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ff_labelWithWidth:font:textColor:backgroudColor:alignment:numberOfLines:">+&nbsp;ff_labelWithWidth:font:textColor:backgroudColor:alignment:numberOfLines:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>生产一个宽度为width的label</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)ff_labelWithWidth:(CGFloat)<em>width</em> font:(UIFont *)<em>font</em> textColor:(UIColor *)<em>textColor</em> backgroudColor:(UIColor *)<em>backgroudColor</em> alignment:(NSTextAlignment)<em>alignment</em> numberOfLines:(NSInteger)<em>lines</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>width</code></th>
						<td><p>宽度，默认值300</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>font</code></th>
						<td><p>字体，默认值14</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>textColor</code></th>
						<td><p>文字颜色，默认值黑色</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>backgroudColor</code></th>
						<td><p>背景色，默认值白色</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>alignment</code></th>
						<td><p>对齐方式</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>lines</code></th>
						<td><p>行数，默认1</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UILabel</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UILabel+FFUIFactory.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ff_labelWithMinWidth:maxWidth:font:textColor:backgroudColor:alignment:numberOfLines:" title="ff_labelWithMinWidth:maxWidth:font:textColor:backgroudColor:alignment:numberOfLines:"></a>
	<h3 class="method-title"><code><a href="#//api/name/ff_labelWithMinWidth:maxWidth:font:textColor:backgroudColor:alignment:numberOfLines:">+&nbsp;ff_labelWithMinWidth:maxWidth:font:textColor:backgroudColor:alignment:numberOfLines:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>生产一个可变宽度的label</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>+ (instancetype)ff_labelWithMinWidth:(CGFloat)<em>minWidth</em> maxWidth:(CGFloat)<em>maxWidth</em> font:(UIFont *)<em>font</em> textColor:(UIColor *)<em>textColor</em> backgroudColor:(UIColor *)<em>backgroudColor</em> alignment:(NSTextAlignment)<em>alignment</em> numberOfLines:(NSInteger)<em>lines</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>minWidth</code></th>
						<td><p>最小宽度，默认值0</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>maxWidth</code></th>
						<td><p>最大宽度，默认值300</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>font</code></th>
						<td><p>字体，默认值14</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>textColor</code></th>
						<td><p>文字颜色，默认值黑色</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>backgroudColor</code></th>
						<td><p>背景色，默认值白色</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>alignment</code></th>
						<td><p>对齐方式</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>lines</code></th>
						<td><p>行数，默认1</p></td>
					</tr>
				
				</table>
			</div>
			

			
			<div class="method-subsection return">
				<h4 class="method-subtitle parameter-title">Return Value</h4>
				<p>UILabel</p>
			</div>
			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UILabel+FFUIFactory.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ff_sizeToFit" title="ff_sizeToFit"></a>
	<h3 class="method-title"><code><a href="#//api/name/ff_sizeToFit">&ndash;&nbsp;ff_sizeToFit</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>尺寸自适应</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)ff_sizeToFit</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UILabel+FFUIFactory.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ff_width_scalable" title="ff_width_scalable"></a>
	<h3 class="method-title"><code><a href="#//api/name/ff_width_scalable">&nbsp;&nbsp;ff_width_scalable</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>宽度是否可以自动缩放(只在min~max之间变化)</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) BOOL ff_width_scalable</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UILabel+FFUIFactory.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ff_max_width" title="ff_max_width"></a>
	<h3 class="method-title"><code><a href="#//api/name/ff_max_width">&nbsp;&nbsp;ff_max_width</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>最大宽度</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) CGFloat ff_max_width</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UILabel+FFUIFactory.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/ff_min_width" title="ff_min_width"></a>
	<h3 class="method-title"><code><a href="#//api/name/ff_min_width">&nbsp;&nbsp;ff_min_width</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>最小宽度</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>@property (nonatomic, assign, readonly) CGFloat ff_min_width</code></div>

		    
			

			

			

			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">UILabel+FFUIFactory.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2016 WanDa. All rights reserved. Updated: 2016-12-28</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>